package com.huawei.designpattern.demeter;

import java.util.LinkedList;
import java.util.List;

/**
 * @Desc
 * @Author 阿里P10大神退退
 * @date 2020/4/6 13:58
 */
public class Employee {

    public void checkNumberOfCourse() {
        List<Course> courseList = new LinkedList<>();
        for (int index = 0; index < 20; index++) {
            courseList.add(new Course());
        }
        System.out.println("课程的数量 --> " + courseList.size());
    }
}
